import request from '@/utils/request'

// 查询固废处置企业列表
export function listGfEp(query) {
  return request({
    url: '/solidDispose/gfEp/list',
    method: 'get',
    params: query
  })
}

// 查询固废处置企业详细
export function getGfEp(gfId) {
  return request({
    url: '/solidDispose/gfEp/' + gfId,
    method: 'get'
  })
}

// 新增固废处置企业
export function addGfEp(data) {
  return request({
    url: '/solidDispose/gfEp',
    method: 'post',
    data: data
  })
}

// 修改固废处置企业
export function updateGfEp(data) {
  return request({
    url: '/solidDispose/gfEp',
    method: 'put',
    data: data
  })
}

// 删除固废处置企业
export function delGfEp(gfId) {
  return request({
    url: '/solidDispose/gfEp/' + gfId,
    method: 'delete'
  })
}

// 导出固废处置企业
export function exportGfEp(query) {
  return request({
    url: '/solidDispose/gfEp/export',
    method: 'get',
    params: query
  })
}